/* 基础容器样式 */
html,
body,
#container {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* 清除标记按钮样式 */
#clearMarkersButton {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  cursor: pointer;
}

/* 经纬度显示标签样式 */
#coordinatesLabel {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 工具卡片样式 */
.input-card {
  width: 150px;
  top: 10px;
  left: 10px;
  bottom: auto;
  position: absolute;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
}

/* 无人机数量显示标签样式 */
#droneCountLabel {
  position: absolute;
  top: 50px;
  right: 15px;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 14px;
}

/* 自动跟踪状态显示样式 */
#autoTrackStatus {
  position: absolute;
  top: 10px;
  right: 120px;
  z-index: 1000;
  background-color: #4CAF50;
  color: white;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 14px;
}

/* Canvas性能优化 - 添加willReadFrequently支持 */
canvas {
  will-change: transform;
}